﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>首页-微课管理系统</title>
		<link href="__PUBLIC__/css/main.css" rel="stylesheet" type="text/css">
		<link href="__PUBLIC__/css/swu.css" rel="stylesheet" type="text/css">
		<script>
            var base = "";
		</script>
		<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/core.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/engine.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/util.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/dwrclass.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
		<link id="artDialog-skin" href="__PUBLIC__/css/default.css" rel="stylesheet">
		<script src="__PUBLIC__/js/jquery.artdialog.js" type="text/javascript"></script>
		<script src="__PUBLIC__/js/jquery.ajax.js" type="text/javascript"></script>
		<script src="__PUBLIC__/js/jquery.timers.js" type="text/javascript"></script>
		<script src="__PUBLIC__/js/user.js" type="text/javascript"></script>
		<script src="__PUBLIC__/js/placeholder.js" type="text/javascript"></script>
		<style type="text/css">

		</style>
	</head>

	<body style="background:#f8f8f8">
		<!--描述：头部及搜索框 -->
		<div id="header">
			<div class="menu_auto" style="background-color: #f8f8f8;">
				<div class="menu_logo">
					<a class="logoName" href="__APP__/Home/Index/">返回到首页</a>
					<a href="__APP__/Home/Index/" class="logoNames"></a>
					<div class="search_btn" style="margin-top: -60px;">
					<input type="text" class="sText" value="请输入课程名称" id="keyword" onclick="resetKeyword();" />
					<input type="button" class="sBtn" onclick="searchBook();" />
					<a id="denglu" href="#">登录</a>
				</div>
				</div>
			</div>

			<div class="banner_auto">
				<div class="banner_1000"></div>
			</div>
		</div>
			<script>
				function resetUsername() {
					var username = $("#username").val();
					if(username == "请输入你的账号") {
						$("#username").val("");
					}
				}

				function resetKeyword() {
					var keyword = $("#keyword").val();
					if(keyword == "请输入课程名称") {
						$("#keyword").val("");
					}
				}

				function searchBook() {
					var keyword = $("#keyword").val();
					toUrl("__APP__/Home/Index/search.html?keyword=" + keyword);
				}
			</script>
			<div id="center">
				<div class="border_news_radius" style="margin-top: 30px; height: 160px; display: none">
					<div class="newsList_450 left">
						<h4 style="width: 99%; margin-top: -8px; font-size: 17px; color: #248DAB;">
							<a class="more" href="__APP__/Home/Index/news.html">更多</a>
							公告
						</h4>
						<ul>
							<volist name="new" id="ne">
								<li class="notice_title">
									<a onclick="alertWindow('__APP__/Home/Index/book_pop.html', id='{$ne.id}')" style="font-size: 15px;">
										<span class="Grey">({$ne.createtime|strtotime|date='m/d h:i',###})</span> {$ne.title}
									</a>
								</li>
							</volist>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
				<div class="course_list_content">
					<ul class="list_books_1000">
						<volist name="sub" id="su">
							<li>
								<img src="__ROOT__/{$su.imgpath}" width="100%" height="200">
								<div class="book_intro_320">
									<h6 style="cursor:pointer" onclick="toUrl('__APP__/Home/Index/book.html?id={$su.sub_code}');"><a class="Binto" href="__APP__/Home/Index/book.html?id={$su.sub_code}">进入学习</a>{$su.chname}</h6>
									<div class="introText">
										{$su.intro}
										<!-- <p class="author">主讲教师 | 周林波&nbsp;&nbsp;
                                        </p> -->
									</div>
								</div>
							</li>
						</volist>

						<div class="clear"></div>
					</ul>
				</div>
			</div>
			<include file="footer"/>
			<script>
				if($.browser.msie) {
					$(":input[placeholder]").each(function() {
						$(this).placeholder();
					});
				}
			</script>
	<script type="text/javascript">
		function alertWindow(urls,ids) {
			$("body").append("<div class=\"alert-windows\">\n" +
                "\t\t\t<div class=\"alert-head\"><span class=\"closed\"></span></div>\n" +
                "\t\t\t<div class=\"alert-body\">\n" +
                "\t\t\t\t<iframe src="+urls+'?ids='+ids+" frameborder=\"0\" scrolling=\"yes\">\n" +
                "\n" +
                "\t\t\t\t</iframe>\n" +
                "\t\t\t</div>\n" +
                "\t\t</div>");
            $(".alert-windows .closed").click(function () {
               $(".alert-windows").remove()
            })
        }

	</script>
	</body>

</html>